package util;

import org.springframework.stereotype.Component;

/**
 * 配置对象
 * 
 * @author Administrator
 *
 */
@Component
public class MyConfig {
	/**
	 * 系统超级管理员角色代码
	 */
	private int superManagerRoleCode;
	/**
	 * 普通用户角色代码
	 */
	private int baseRoleCode;
	/**
	 * 登录页面
	 */
	private String loginPage;
	/**
	 * 是否记录Controller层日志
	 */
	private Boolean recordControllerLog;
	/**
	 * 是否记录Service层日志
	 */
	private Boolean recordServiceLog;

	public int getSuperManagerRoleCode() {
		return superManagerRoleCode;
	}

	public void setSuperManagerRoleCode(int superManagerRoleCode) {
		this.superManagerRoleCode = superManagerRoleCode;
	}

	public int getBaseRoleCode() {
		return baseRoleCode;
	}

	public void setBaseRoleCode(int baseRoleCode) {
		this.baseRoleCode = baseRoleCode;
	}

	public String getLoginPage() {
		return loginPage;
	}

	public void setLoginPage(String loginPage) {
		this.loginPage = loginPage;
	}

	public Boolean getRecordControllerLog() {
		return recordControllerLog;
	}

	public void setRecordControllerLog(Boolean recordControllerLog) {
		this.recordControllerLog = recordControllerLog;
	}

	public Boolean getRecordServiceLog() {
		return recordServiceLog;
	}

	public void setRecordServiceLog(Boolean recordServiceLog) {
		this.recordServiceLog = recordServiceLog;
	}

}
